[Samba] samba doesn't accept groups?

lordmrd at gmail.com lordmrd at gmail.com
Wed Feb 20 10:45:23 GMT 2008


Hi you all!
this is my strange problem of the day!
I use Debian stable, linux 2.6.18-5-686, samba Version 3.0.24.

Here's my smb.conf

[global]
workgroup = NO1KNOWS
realm = NO1KNOWS
bios name = PBT
server string = Rob's Samba
dns proxy = no
os level = 64
log file = /var/log/samba/log.%m
max log size = 50
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
invalid users = root
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX
spassword:* %n\n .
password server = 127.0.0.1     ;   pam password change = no
socket options = TCP_NODELAY SO_SNDBUF=8192
local master = yes
domain master =yes
preferred master = yes
domain logons = yes
hosts allow = 127.0.0.1 192.168.3.2/32 192.168.3.3/32 192.168.3.4/32
192.168.3.9/32 192.168.3.22/32 192.168.3.93/32 192.168.2.93/3\
2
logon path = \\%L\profiles\%u\%m
logon script = logon.bat
logon drive = H:
logon home = \\%L\%u\.win_profile\%m
time server = yes
logon home = \\%L\%U\.profile
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false %u
[netlogon]
        comment = Network Logon Service
        path = /usr/local/samba/lib/netlogon
        read only = yes
        write list = @admin
        guest ok = no
        writable = no
        share modes = no
        browsable = no
[homes]
        comment = Home Directories
	read only = no
        browseable = no
        writable = yes
        create mask = 0600
        directory mask = 0700
        guest ok = no
        map archive = yes

[Tutto]
        path = /tutto
	writable = yes
        create mask = 0750
        directory mask = 0750
        browseable = yes
        read only = no
        guest ok = no

[Condivisa]
        path = /condivisa
       	writable = yes
        create mask = 0777
	directory mask = 0777
        browseable = yes
        read only = no
        guest ok = no

rob at thelema:~$ smbmount  //pbt3/Condivisa /home/rob/Condivisa -o
username=rob,password=ZZZZZZ,uid=rob,gid=ufficio
rob at thelema:~$

but this is what i get:

pbt:~# smbstatus 
WARNING: The "printer admin" option is deprecated

Samba version 3.0.24
PID     Username      Group         Machine                        
-------------------------------------------------------------------
20761   rob           rob           192.168.3.93 (192.168.3.93)

Service      pid     machine       Connected at
-------------------------------------------------------
Tutto        20761   192.168.3.93  Wed Feb 20 12:18:10 2008
Condivisa    20761   192.168.3.93  Wed Feb 20 12:17:58 2008

No locked files

pbt:~#

It seems it doesn't accept GID.
any help?
tnx in adv.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
	firmata digitalmente
Url : http://lists.samba.org/archive/samba/attachments/20080220/bba69b43/attachment.bin


More information about the samba mailing list