Hello! I have installed Debian "Lenny" x64 and samba 3.2.5 from repository and I have some problems. First: When I set directory access rights via checkbox from WindowsXPPro SP3 it seems that it has no effect. I have rebuild samba and samba-common, version 3.0.24-6etch10, for Debian Lenny and this solved this problem. Also in rebuilded version DFS is on by default. Second: I can't get local users and groups from WindowsXPPro via directory properties. But from Linux I have successfully get it via net rpc user. I don't have this problem with Debian "Etch" x86 and samba 3.0.24-6. I have tried backports version samba 2:3.3.4-1~bpo50+2, but this not solved problems. Kernel: 2.6.26-1-amd64 My config: [global] workgroup = COMPANY obey pam restrictions = Yes passdb backend = tdbsam passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . syslog = 0 log file = /var/log/samba/samba.log max log size = 1000 deadtime = 5 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 load printers = No disable spoolss = Yes show add printer wizard = No dns proxy = No wins server = 192.168.10.240 panic action = /usr/share/samba/panic-action %d invalid users = root admin users = +sambaadmin create mask = 0660 directory mask = 0770 inherit permissions = Yes inherit acls = Yes map acl inherit = Yes hide unreadable = Yes map archive = No map readonly = no store dos attributes = Yes follow symlinks = No dos filemode = Yes [share] path = /samba/share valid users = +sambauser read only = No Mount options: /dev/mapper/vg3-samba /samba ext3 rw,acl 0 0 Directory right: drwxrwxr-x 3 root sambauser 4096 2009-06-26 10:28 share net rpc user -U user -S 192.168.10.243 Enter user's password: User name Comment ----------------------------- backup nobody lp sshd root daemon mail Debian-exim news bin user .......... Thank you and excuse me for my bad english.
Hello! I have solved problem with access rights, but I can't solve problem with users. When I try get Samba users from Windows I get error: "Next error don't allow look any elements: Many connects to server or share dont't allow. Please disconnect preview and try again". Can you help me? Thanks.
Hello! I have install samba 3.2.5 on Debian Lenny from repository. Then I try get Samba users from Windows, tabs Security in the directory properties, I get error: "Next error don't allow look any elements: Many connects to server or share dont't allow. Please disconnect preview and try again". In the samba log I find next line: [2009/07/08 14:19:19, 1] smbd/service.c:make_connection_snum(1115) srv1c (192.168.10.240) connect to service develop initially as user test (uid=0, gid=1003) (pid 5057) [2009/07/08 14:20:38, 1] smbd/service.c:close_cnum(1327) srv1c (192.168.10.240) closed connection to service develop [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_open(853) tdbsam_open: unknown version => 4 [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(903) tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb! [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_open(853) tdbsam_open: unknown version => 4 [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(903) tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb! [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_open(853) tdbsam_open: unknown version => 4 [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(903) tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb! [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_open(853) tdbsam_open: unknown version => 4 [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(903) tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb! [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_open(853) tdbsam_open: unknown version => 4 [2009/07/08 14:23:49, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(903) tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb! [2009/07/08 14:23:53, 0] passdb/pdb_tdb.c:tdbsam_open(853) tdbsam_open: unknown version => 4 [2009/07/08 14:23:53, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(903) tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb! [2009/07/08 14:24:00, 0] passdb/pdb_tdb.c:tdbsam_open(853) tdbsam_open: unknown version => 4 [2009/07/08 14:24:00, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(903) tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb! Can you help me? Thanks.
Hello! I reinstalled samba 3.2.5 package. My config: [global] workgroup = BYTERG interfaces = 127.0.0.0/8, eth0 bind interfaces only = Yes obey pam restrictions = Yes passdb backend = tdbsam:/etc/samba/passdb.tdb passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . log level = 3 tdb:5 syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 load printers = No dns proxy = No panic action = /usr/share/samba/panic-action %d invalid users = root inherit permissions = Yes inherit acls = Yes ea support = Yes map acl inherit = Yes hide unreadable = Yes map archive = No map readonly = no store dos attributes = Yes dos filemode = Yes [share] path = /samba/share valid users = @samba read only = No create mask = 0664 directory mask = 0775 [develop] path = /samba/develop valid users = @samba admin users = test read only = No create mask = 0660 directory mask = 0770 pdbedit -V Version 3.2.5 pdbedit -L test:1002:Test Samba admin pdbedit -L -v --------------- Unix username: test NT username: Account Flags: [U ] User SID: S-1-5-21-1488189787-3168271358-2500469969-3004 Primary Group SID: S-1-5-21-1488189787-3168271358-2500469969-513 Full Name: Test Samba admin Home Directory: \\file\test HomeDir Drive: Logon Script: Profile Path: \\file\test\profile Domain: FILE Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: never Kickoff time: never Password last set: Tue, 21 Jul 2009 12:05:56 MSD Password can change: Tue, 21 Jul 2009 12:05:56 MSD Password must change: never Last bad password : 0 Bad password count : 0 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF In the attach log when I connect to share and try to get Samba users. And again I get error about many connections. How can I solve this? Thanks.
> > This mailing list doesn't allow attachments. But perhaps you can copy > the log file into the mail text. >Thank you for your answer. What max size can have e-mail in this mailing list, I don't found this information? Early I send log with this parameters - log level = 3 tdb:5 and log have size 100K or 10K after gzip.