Re: samba installed from scratch on fc9 doesn't work for me

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Craig White, il 24/08/2008 19:13, scrisse:

hi craig, thanks for your answer :)

what do you get from command (as root)
pdbedit -Lv barbara

[root@barbara samba]# pdbedit -Lv
---------------
Unix username:        barbara
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-4006416855-825432111-2697360864-2000
Primary Group SID:    S-1-5-21-4006416855-825432111-2697360864-513
Full Name:            Barbara
Home Directory:       \\barbara\barbara
HomeDir Drive:
Logon Script:
Profile Path:         \\barbara\barbara\profile
Domain:               BARBARA
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          never
Kickoff time:         never
Password last set:    gio, 21 ago 2008 09:40:36 CEST
Password can change:  gio, 21 ago 2008 09:40:36 CEST
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

as you can see barbara is the only user for now.
I changed homedir and profilepath fields respectively to \\home\barbara and \\home\barbara\profile 'cause it seems more reasonable to me, but nothing had changed. also, shouldn't the domain field reflect the workgroup name, i.e. GRECOELEVATORI? and if so, how can I edit it?

try...
smbclient //barbara/Ufficio -U barbara
[...]
try executing this command (as root)
chmod g+w,g+s,o+w /home/barbara/Documenti -R

(since you are trying to make it public writable)

well, I would prefer to grant access only to users of the lan, that's why I chose security=user, but it's not that important 'cause this server doesn't listen outside the lan.
what is the reason to set the gid bit on shared files and directories?
anyway, here is the console output:
[root@barbara samba]# chmod g+w,g+s,o+w /home/barbara/Documenti -R
[root@barbara samba]# smbclient //barbara/ufficio -U barbara
Enter barbara's password:
session setup failed: NT_STATUS_LOGON_FAILURE
[root@barbara samba]# smbclient //barbara/ufficio
Enter barbara's password:
Anonymous login successful
Domain=[GRECOELEVATORI] OS=[Unix] Server=[Samba 3.2.0-17.fc9]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

can't access share neither as user barbara nor as anonymous :(

you might want to post output of
ls -l /var/lib/samba

[root@barbara samba]# ls -l /var/lib/samba
totale 424
-rw------- 1 root root   16384 20 ago 14:12 account_policy.tdb
-rw-r--r-- 1 root root   40200 25 ago 11:04 brlock.tdb
-rw-r--r-- 1 root root     170 25 ago 11:10 browse.dat
-rw-r--r-- 1 root root   90112 25 ago 11:23 connections.tdb
-rw-r--r-- 1 root root    8192 25 ago 11:22 gencache.tdb
-rw-rw-rw- 1 root root   77824 20 ago 14:10 group_mapping.ldb
-rw-r--r-- 1 root root   40200 25 ago 11:04 locking.tdb
-rw------- 1 root root     696 25 ago 11:04 messages.tdb
-rw-r--r-- 1 root root     696 25 ago 11:23 notify.tdb
-rw------- 1 root root    8192 20 ago 14:10 ntdrivers.tdb
-rw------- 1 root root     696 20 ago 14:10 ntforms.tdb
-rw------- 1 root root   20480 25 ago 11:04 ntprinters.tdb
drwxr-xr-x 2 root root    4096 18 ago 15:37 perfmon
drwxr-xr-x 2 root root    4096 20 ago 15:52 printing
drwx------ 2 root root    4096 20 ago 15:48 private
-rw------- 1 root root   36864 25 ago 11:04 registry.tdb
drwxr-xr-x 2 root root    4096  1 lug 18:25 scripts
-rw-r--r-- 1 root root     696 25 ago 11:04 sessionid.tdb
-rw------- 1 root root   16384 20 ago 14:13 share_info.tdb
-rw-r--r-- 1 root root   28672 21 ago 09:57 unexpected.tdb
drwxr-x--- 2 root wbpriv  4096  1 lug 18:25 winbindd_privileged

there is also another little bug I forgot to mention in my previous mail. after the installation the printer was not loaded because samba failed to connect to cups. looking at boot order I saw that smb and nmb were started with S91 while cups was started with S98. this is odd. I changed the order editing symlinks in /etc/rc.d/rc*, but I guess this could be overriden in the future by un upgrade. what is the correct way to change that order (I'm not so familiar with sysV init because I've always used slackware)?

thanks again.

--
      Massimo Maiurana         massimo<at>ragusa.linux.it
      http://massimo.solira.org       GPG keyID #7044D601

Articolo 33 - [...]Enti e privati hanno il diritto di istituire
scuole ed istituti di educazione, senza oneri per lo Stato.[...]

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux