[Samba] new users, new group, can't access share

2010-05-12 Thread Leonardo Carneiro - Veltrac
Hi everyone. I have a Samba 3.4.7 (bpo) on a debian box running as PDC 
with a LDAP backend. i have added a new group, 2 new users and created a 
new group share for them, but by some unknown reason they cannon access 
the share. the client is running windows vista. here's what i did:


   smbldap-groupadd -a office
   smbldap-useradd -a -m user1
   smbldap-useradd -a -m user2
   smbldap-passwd user1
   smbldap-passwd user2
   smbldap-usermod -G +office user1
   smbldap-usermod -G +office user2

and added the following entry to my smb.conf:

   [office]
   writeable = yes
   map acl inherit = yes
   inherit permissions = yes
   path = /home/grupos/office
   force directory mode = 02777
   force create mode = 0777
   create mask = 0777
   directory mask = 02777
   valid users = @office

here is the folder permissions:

   fileserver:~# ls -ld /home/grupos/office/
   drwxrwx--- 2 root office 4096 2010-05-12 09:30 /home/grupos/office/

did i missed something?

Tks in advance.
--
Leonardo Carneiro
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] new users, new group, can't access share

2010-05-12 Thread Leonardo Carneiro - Veltrac

Leonardo Carneiro - Veltrac wrote:
Hi everyone. I have a Samba 3.4.7 (bpo) on a debian box running as PDC 
with a LDAP backend. i have added a new group, 2 new users and created 
a new group share for them, but by some unknown reason they cannon 
access the share. the client is running windows vista. here's what i did:


   smbldap-groupadd -a office
   smbldap-useradd -a -m user1
   smbldap-useradd -a -m user2
   smbldap-passwd user1
   smbldap-passwd user2
   smbldap-usermod -G +office user1
   smbldap-usermod -G +office user2

and added the following entry to my smb.conf:

   [office]
   writeable = yes
   map acl inherit = yes
   inherit permissions = yes
   path = /home/grupos/office
   force directory mode = 02777
   force create mode = 0777
   create mask = 0777
   directory mask = 02777
   valid users = @office

here is the folder permissions:

   fileserver:~# ls -ld /home/grupos/office/
   drwxrwx--- 2 root office 4096 2010-05-12 09:30 /home/grupos/office/

did i missed something?

Tks in advance.
I forgot to tell, this particular machine has not joined the domain, but 
this never has been a problem with other machines so far.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] new users, new group, can't access share

2010-05-12 Thread Leonardo Carneiro - Veltrac

Leonardo Carneiro - Veltrac wrote:

Leonardo Carneiro - Veltrac wrote:
Hi everyone. I have a Samba 3.4.7 (bpo) on a debian box running as 
PDC with a LDAP backend. i have added a new group, 2 new users and 
created a new group share for them, but by some unknown reason they 
cannon access the share. the client is running windows vista. here's 
what i did:


   smbldap-groupadd -a office
   smbldap-useradd -a -m user1
   smbldap-useradd -a -m user2
   smbldap-passwd user1
   smbldap-passwd user2
   smbldap-usermod -G +office user1
   smbldap-usermod -G +office user2

and added the following entry to my smb.conf:

   [office]
   writeable = yes
   map acl inherit = yes
   inherit permissions = yes
   path = /home/grupos/office
   force directory mode = 02777
   force create mode = 0777
   create mask = 0777
   directory mask = 02777
   valid users = @office

here is the folder permissions:

   fileserver:~# ls -ld /home/grupos/office/
   drwxrwx--- 2 root office 4096 2010-05-12 09:30 /home/grupos/office/

did i missed something?

Tks in advance.
I forgot to tell, this particular machine has not joined the domain, 
but this never has been a problem with other machines so far.
Giving full permission to the folder (chmod -R +rwx /home/grupos/office) 
permit the user to access, but i rather not use like this. There is 
another way out?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] new users, new group, can't access share

2010-05-12 Thread John Drescher
 Giving full permission to the folder (chmod -R +rwx /home/grupos/office)
 permit the user to access, but i rather not use like this. There is another
 way out?

Use proper POSIX acls so that if the user was logged on to the linux
box they would be able to access that folder. This way there is no
need to force permissions in samba.

John
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] new users, new group, can't access share

2010-05-12 Thread Dale Schroeder

On 05/12/2010 8:30 AM, Leonardo Carneiro - Veltrac wrote:

Leonardo Carneiro - Veltrac wrote:
Hi everyone. I have a Samba 3.4.7 (bpo) on a debian box running as 
PDC with a LDAP backend. i have added a new group, 2 new users and 
created a new group share for them, but by some unknown reason they 
cannon access the share. the client is running windows vista. here's 
what i did:


   smbldap-groupadd -a office
   smbldap-useradd -a -m user1
   smbldap-useradd -a -m user2
   smbldap-passwd user1
   smbldap-passwd user2
   smbldap-usermod -G +office user1
   smbldap-usermod -G +office user2

and added the following entry to my smb.conf:

   [office]
   writeable = yes
   map acl inherit = yes
   inherit permissions = yes
   path = /home/grupos/office
   force directory mode = 02777
   force create mode = 0777
   create mask = 0777
   directory mask = 02777
   valid users = @office

here is the folder permissions:

   fileserver:~# ls -ld /home/grupos/office/
   drwxrwx--- 2 root office 4096 2010-05-12 09:30 /home/grupos/office/

did i missed something?

Possibly.


Tks in advance.
I forgot to tell, this particular machine has not joined the domain, 
but this never has been a problem with other machines so far.


Since the client is not in the domain, do you have this in [global]?
map untrusted to domain = Yes

See the Authentication Changes section of 
http://www.samba.org/samba/history/samba-3.4.0.html


Dale

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] New Users cannot login on W2k client (Samba 3.01 on debian linux)

2004-09-17 Thread Roland Schroth
Hi all,

I have a problem with newly created users beeing not able to login at our Windows 
clients.
We have debian linux with Samba 3.01 running as PDC and fileserver.

I create the linux users first with useradd and then the samba users with smbpasswd.
There are existing machine accounts for all the workstations and users that exist 
already for quite some time can login at the
workstations. But the newly created users can't. They always get the message that they 
could not be logged in and should check their
password etc.

I must confess that I am far away from knowing much about the linux system and its 
administration. Maybe you can give me a hint
where to look for the reason for this or how to solve the problem. One of my problems 
here is, that I do not remember what
configuration changes were made since the last working new user account was created. 
What I know is, that we upgraded to 3.01 some
time ago from the version that came with debian (woody) but I am quite sure that 
working user accounts have been created after that
change.

I am stuck, please help me ;-)

Best regards,
Roland


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] New Users cannot login on W2k client (Samba 3.01 on debian linux)

2004-09-17 Thread Hugh Brown
Roland Schroth wrote:
 I must confess that I am far away from knowing much about the linux system and its 
 administration. Maybe you can give me a hint
 where to look for the reason for this or how to solve the problem. One of my 
 problems here is, that I do not remember what
 configuration changes were made since the last working new user account was created. 
 What I know is, that we upgraded to 3.01 some
 time ago from the version that came with debian (woody) but I am quite sure that 
 working user accounts have been created after that
 change.

You may want to check that Samba's SID has remained the same over the
upgrade.  This thread from Google explains things a bit more:


http://groups.google.com/groups?hl=enlr=ie=UTF-8threadm=P9nY.7m6.9%40gated-at.bofh.itrnum=7prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26q%3Drejoin%2Bdomain%2Bsamba%2Bprofile%26btnG%3DSearch

Hope that helps...
-- 
Hugh Brown
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] New Users ?

2003-10-21 Thread Ken Walker
When I create new user for access to pre-defined samba shared folders, with
an associated password in smbpasswd. Do I have to create a home directory
and a private group if they will never ever be near the server ?


Ken
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] New users wont authentication

2003-06-03 Thread Cledson Souza
Hey,

Im having some problems with  new users, i cant see his names in:
getent passwd command

Except for this everything is ok
Shares and Printers for old users  are ok.

Thanks for any help.

 [ ]´s
Cledson Souza
Infra-estrutura

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] New Users wont authenticate.

2003-02-20 Thread Kevin Smith
Im using Samba 2.2.7a  on my RH7.3 box. The 3 users I have had on the system
work flawlessly, but when I add a new user (userconf,  adduser, smbpasswd
-a) the system takes the user, it exists in both PSSWD files, but won't
allow logging on from the Win9x box. 
I look in /var/log/messages and it doesn't tell me anything, nor do my
etc/samba/log.smbd-nmbd files, is there a particular switch or configuration
in smb.conf that tells it to update the /etc/pamd/passdb file? 
I feel this is one of those cant see the forest for the trees situations,
any assistance is appreciated. 

Kev


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] New Users wont authenticate.

2003-02-20 Thread Khanh Tran
First, I'd try to see if one of those initial 3 users can log into the Win9x
box.  That would eliminate network issues and such.  Then I'd see if you
could telnet, SSH, FTP, etc to the box to see if it's a problem limited to
the unix password or samba password files...

Khanh Tran
Network Operations
Sarah Lawrence College


-Original Message-
From: Kevin Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 8:53 AM
To: Samba
Subject: [Samba] New Users wont authenticate. 


Im using Samba 2.2.7a  on my RH7.3 box. The 3 users I have had on the system
work flawlessly, but when I add a new user (userconf,  adduser, smbpasswd
-a) the system takes the user, it exists in both PSSWD files, but won't
allow logging on from the Win9x box. 
I look in /var/log/messages and it doesn't tell me anything, nor do my
etc/samba/log.smbd-nmbd files, is there a particular switch or configuration
in smb.conf that tells it to update the /etc/pamd/passdb file? 
I feel this is one of those cant see the forest for the trees situations,
any assistance is appreciated. 

Kev


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba