[Samba] Problem using samba with ldap

2008-10-29 Thread Michael JOLY
Hello,

I've just installed samba with ldap on a debian etch.
I have a problem when i attempt to create a user with the command
smbldap-useradd -a -P  -c toto DUPONT -u 1001 toto and to log in with it
after.
I obtain this error :

[2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
  pdb_get_group_sid: Failed to find Unix account for toto
[2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
  User toto in passdb, but getpwnam() fails!
[2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'

The user is created in the ldap but not in /etc/passwd.

Could someone help me ?

Thanks

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


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Adam Williams

do you have nss_ldap installed and working?

Michael JOLY wrote:

Hello,

I've just installed samba with ldap on a debian etch.
I have a problem when i attempt to create a user with the command
smbldap-useradd -a -P  -c toto DUPONT -u 1001 toto and to log in with it
after.
I obtain this error :

[2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
  pdb_get_group_sid: Failed to find Unix account for toto
[2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
  User toto in passdb, but getpwnam() fails!
[2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'

The user is created in the ldap but not in /etc/passwd.

Could someone help me ?

Thanks

Mick
  

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


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Iarly Selbir
Try add this user without the -P attribute and check if this has created.

After try
#smbldap-usershow toto

if this command return the user config, try:

# smbldap-passwd toto



-- 

Reggards,

--
Iarly Selbir ( Ski0s )


On Wed, Oct 29, 2008 at 4:03 PM, Michael JOLY [EMAIL PROTECTED] wrote:

 Hello,

 I've just installed samba with ldap on a debian etch.
 I have a problem when i attempt to create a user with the command
 smbldap-useradd -a -P  -c toto DUPONT -u 1001 toto and to log in with it
 after.
 I obtain this error :

 [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
  pdb_get_group_sid: Failed to find Unix account for toto
 [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
  User toto in passdb, but getpwnam() fails!
 [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with
 'NT_STATUS_NO_SUCH_USER'

 The user is created in the ldap but not in /etc/passwd.

 Could someone help me ?

 Thanks

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

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


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Michael JOLY
The user is create in the ldap but when i try to connect to smb, i have the
error.

nss_ldap isn't install

Sincerely yours

Mick

2008/10/29 Adam Williams [EMAIL PROTECTED]

 do you have nss_ldap installed and working?


 Michael JOLY wrote:

 Hello,

 I've just installed samba with ldap on a debian etch.
 I have a problem when i attempt to create a user with the command
 smbldap-useradd -a -P  -c toto DUPONT -u 1001 toto and to log in with it
 after.
 I obtain this error :

 [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
  pdb_get_group_sid: Failed to find Unix account for toto
 [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
  User toto in passdb, but getpwnam() fails!
 [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with
 'NT_STATUS_NO_SUCH_USER'

 The user is created in the ldap but not in /etc/passwd.

 Could someone help me ?

 Thanks

 Mick



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


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Michael JOLY
I have solved my problem installing nss_ldap

Thans for your help Adam.

Best regards

Mick

2008/10/29 Michael JOLY [EMAIL PROTECTED]

 The user is create in the ldap but when i try to connect to smb, i have the
 error.

 nss_ldap isn't install

 Sincerely yours

 Mick

 2008/10/29 Adam Williams [EMAIL PROTECTED]

 do you have nss_ldap installed and working?


 Michael JOLY wrote:

 Hello,

 I've just installed samba with ldap on a debian etch.
 I have a problem when i attempt to create a user with the command
 smbldap-useradd -a -P  -c toto DUPONT -u 1001 toto and to log in with
 it
 after.
 I obtain this error :

 [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
  pdb_get_group_sid: Failed to find Unix account for toto
 [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
  User toto in passdb, but getpwnam() fails!
 [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with
 'NT_STATUS_NO_SUCH_USER'

 The user is created in the ldap but not in /etc/passwd.

 Could someone help me ?

 Thanks

 Mick




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


Re: [Samba] Problem using samba with ldap

2008-10-29 Thread Iarly Selbir
you should to install nss_ldap, this is needed for integration between ldap
and unix accounts

After install and configure you can check it with getent passwd command.

-- 

Reggards,

--
Iarly Selbir ( Ski0s )


On Wed, Oct 29, 2008 at 4:48 PM, Michael JOLY [EMAIL PROTECTED] wrote:

 The user is create in the ldap but when i try to connect to smb, i have the
 error.

 nss_ldap isn't install

 Sincerely yours

 Mick

 2008/10/29 Adam Williams [EMAIL PROTECTED]

  do you have nss_ldap installed and working?
 
 
  Michael JOLY wrote:
 
  Hello,
 
  I've just installed samba with ldap on a debian etch.
  I have a problem when i attempt to create a user with the command
  smbldap-useradd -a -P  -c toto DUPONT -u 1001 toto and to log in with
 it
  after.
  I obtain this error :
 
  [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
   pdb_get_group_sid: Failed to find Unix account for toto
  [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
   User toto in passdb, but getpwnam() fails!
  [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
   check_sam_security: make_server_info_sam() failed with
  'NT_STATUS_NO_SUCH_USER'
 
  The user is created in the ldap but not in /etc/passwd.
 
  Could someone help me ?
 
  Thanks
 
  Mick
 
 
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba

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


[Samba] Problem Using Samba

2004-06-14 Thread Ken Valis
I have a question I hope some one can help me out with. I have Samba 3.0.2 
running on a Solaris 9 server. I am sharing a directory calle /support. I have 
no problems mapping the drive from my laptop while in my office. My problem is 
I cannot map the drive while VPNed in from home using my desktop PC. I am able 
to map other Windows drives, but not this Samba shared drive. Here are some 
specifics:

Samba server
Sun U60 running Solaris 9
[support]
   comment = Support file space
   path = /support
   read only = no
   public = yes
   create mode = 0750
   hosts allow = ALL

Samba clinet
Dell 4550 running XP
The error I keep getting is this account is not authorized to log in from 
this station

Any ideas would be appreciated. 

Ken

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


[Samba] Problem using Samba to access nfs mount on linux to EMC share from WinXP

2004-03-30 Thread ajwidene




Our company recently did a poor job of migrating us to a new EMC system for
NAS.  We were immediately faced with its inability to translate permissions
between UNIX and windows since our company hasn't figured out EMC's secure
mode permissions.  Since the EMC maintained the proper UNIX permissions, we
tried using a samba server on linux to share out an NFS mount of the EMC
partition to our Windows clients.  This seemed to be working except some
files and directories simply don't show up in explorer on windows.  We can
type the absolute path to a directory we know exists and then we can see
the contents, but the directory itself won't show up in the listing.  We
thought we could live with this by just typing out the names of files that
didn't show up, but it is now affecting some of our windows tools.  They
can't seem to find the files that are realy there.

Please help! Thank you.
Andrew Widener
ASIC/FPGA Design Engineer
Rockwell Collins, Inc.

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