Re: [Samba] tree connect failled: ERRDOS - ERRnoaccess (Access denied.)

2007-02-08 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/08/2007 04:09 PM, [EMAIL PROTECTED] wrote:
[...]
> how do i create sambaSAMAccounts?

The same way you create other object classes in a LDAP
database. I would recommend you to read the Samba Official HOWTO
and Samba By Example, you will find detailed info about Samba
schemas and LDAP.

It is also worth to check Samba+LDAP HOWTO from Ignaciou
Coupeau, is a little bit out-of-date if you compare with the
actual scenario, but has important base concepts.


Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFy2idCj65ZxU4gPQRArsdAJsFbwDqudCLhPyfySDo5lPfpQyrXACfUifD
1gRjxqbxY1LkkGU07lbq0xo=
=H9VH
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] tree connect failled: ERRDOS - ERRnoaccess (Access denied.)

2007-02-08 Thread GNUtoo
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 01/26/2007 02:23 PM, [EMAIL PROTECTED] wrote:
>> On 01/24/2007 07:22 PM, [EMAIL PROTECTED] escreveu:
> i have recently switched to ldap backend for passwords
> smbldap-useradd,smbldap-passwd works without error messages...
> but when i try to connect from linux it gives me the following error
> X:tree connect failled: ERRDOS - ERRnoaccess (Access denied.)
> X can be remplaced with diffferent numbers such as
> 10270
> 11202
> 11318
> 11750
> ...evry time the number of the errors change i don't know why
>
> i have only tryed it with username that are valid unix usernames
> (i don't know if smbldap create the unix usernames for me) and the
> samba
> and unix password are the same
>
> [...]
>
>> here my smb.conf
>
>> [photos_modif]
>>comment = private stuff
>>path = /home/gentux/Pictures
>>valid users = samba gentux
>>public = no
>>writable = no
>>printable = no
>
>
>> [home]
>>comment = private stuff
>>path = /home
>>valid users = gentux
>>public = no
>>writable = no
>>printable = no
>
>
>   Well, you don't need to share [home] like that, you
> can use [homes] instead. And samba and gentux do not have
> the 'samba' object class.
>
>
>> here all my ldap entries:
> [...]
>> # root, Users, GNUtoo.org
>> dn: uid=root,ou=Users,dc=GNUtoo,dc=org
>> cn: root
>> sn: root
>> objectClass: inetOrgPerson
>> objectClass: sambaSamAccount
>> objectClass: posixAccount
>> objectClass: shadowAccount
>> gidNumber: 0
>> uid: root
>> uidNumber: 0
>> homeDirectory: /home/root
>> sambaLogonTime: 0
>> sambaLogoffTime: 2147483647
>> sambaKickoffTime: 2147483647
>> sambaPwdCanChange: 0
>> sambaHomePath: \\PDC-SRV\root
>> sambaHomeDrive: H:
>> sambaProfilePath: \\PDC-SRV\profiles\root
>> sambaPrimaryGroupSID: S-1-5-21-4205727931-4131263253-1851132061-512
>> sambaSID: S-1-5-21-4205727931-4131263253-1851132061-500
>> loginShell: /bin/false
>> gecos: Netbios Domain Administrator
>> sambaLMPassword: 600A867539982BF08E5D533411003C5C
>> sambaAcctFlags: [U]
>> sambaNTPassword: 2B4FE695A07847E3F92A21A30541CAD7
>> sambaPwdLastSet: 1169673792
>> sambaPwdMustChange: 1173561792
>> userPassword:: e1NTSEF9Mnc0aVFUcEgxdTFjOC9ycFd3ZG5kUUs3OGZFMVV6RlE=
>
>
>> # samba, Users, GNUtoo.org
>> dn: uid=samba,ou=Users,dc=GNUtoo,dc=org
>> objectClass: top
>> objectClass: inetOrgPerson
>> objectClass: posixAccount
>> objectClass: shadowAccount
>> cn: samba
>> sn: samba
>> uid: samba
>> uidNumber: 1002
>> gidNumber: 513
>> homeDirectory: /home/samba
>> loginShell: /bin/bash
>> gecos: System User
>> description: System User
>> userPassword:: e1NTSEF9VTBtbEFvQ05uU3d5MkdDTS9TQjhjdTJ4NGdsdGNFOVM=
>
>> # gentux, Users, GNUtoo.org
>> dn: uid=gentux,ou=Users,dc=GNUtoo,dc=org
>> objectClass: top
>> objectClass: inetOrgPerson
>> objectClass: posixAccount
>> objectClass: shadowAccount
>> cn: gentux
>> sn: gentux
>> uid: gentux
>> uidNumber: 1006
>> gidNumber: 513
>> homeDirectory: /home/gentux
>> loginShell: /bin/bash
>> gecos: System User
>> description: System User
>> userPassword:: e1NTSEF9RzNkU2FQckNHL1FVTG1sdmhycS8zQU8zbzc4eGFrVkk=
>
>   Why 'samba' and 'gentux' users do not have an sambaSAMAccount?
> They need that info in order to access your samba resources.
>
>
how do i create sambaSAMAccounts?
>> the problem is that i don't see any error logs but the logs of my
>> ldapsearch...
>
>   Perhaps you should increase the loglevel of your smb.conf
> and check the common log files found in /var/log.
>
>
>   Kind regards,
>
> - --
> Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
> http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFvfGCCj65ZxU4gPQRAtuIAKCKyqrnRLS+tGinzQv782KRRrmDjACeMdPF
> QiQHjlSi50a3V8xMlQhfVSY=
> =yGA+
> -END PGP SIGNATURE-
>
>
by the way i restarte from scratch using the smbldap tutorial from idealx
from the cvs
an it still has errors:
# ldapsearch
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# GNUtoo.org
dn: dc=GNUtoo,dc=org
objectClass: dcObject
objectClass: organization
o: GNUtoo
dc: GNUtoo

# Users, GNUtoo.org
dn: ou=Users,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Users

# Groups, GNUtoo.org
dn: ou=Groups,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Groups

# Computers, GNUtoo.org
dn: ou=Computers,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Computers

# Idmap, GNUtoo.org
dn: ou=Idmap,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Idmap

# root, Users, GNUtoo.org
dn: uid=root,ou=Users,dc=GNUtoo,dc=org
cn: root
sn: root
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: shado

Re: [Samba] tree connect failled: ERRDOS - ERRnoaccess (Access denied.)

2007-01-29 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/26/2007 02:23 PM, [EMAIL PROTECTED] wrote:
> On 01/24/2007 07:22 PM, [EMAIL PROTECTED] escreveu:
 i have recently switched to ldap backend for passwords
 smbldap-useradd,smbldap-passwd works without error messages...
 but when i try to connect from linux it gives me the following error
 X:tree connect failled: ERRDOS - ERRnoaccess (Access denied.)
 X can be remplaced with diffferent numbers such as
 10270
 11202
 11318
 11750
 ...evry time the number of the errors change i don't know why

 i have only tryed it with username that are valid unix usernames
 (i don't know if smbldap create the unix usernames for me) and the samba
 and unix password are the same

[...]

> here my smb.conf

> [photos_modif]
>comment = private stuff
>path = /home/gentux/Pictures
>valid users = samba gentux
>public = no
>writable = no
>printable = no


> [home]
>comment = private stuff
>path = /home
>valid users = gentux
>public = no
>writable = no
>printable = no


Well, you don't need to share [home] like that, you
can use [homes] instead. And samba and gentux do not have
the 'samba' object class.


> here all my ldap entries:
[...]
> # root, Users, GNUtoo.org
> dn: uid=root,ou=Users,dc=GNUtoo,dc=org
> cn: root
> sn: root
> objectClass: inetOrgPerson
> objectClass: sambaSamAccount
> objectClass: posixAccount
> objectClass: shadowAccount
> gidNumber: 0
> uid: root
> uidNumber: 0
> homeDirectory: /home/root
> sambaLogonTime: 0
> sambaLogoffTime: 2147483647
> sambaKickoffTime: 2147483647
> sambaPwdCanChange: 0
> sambaHomePath: \\PDC-SRV\root
> sambaHomeDrive: H:
> sambaProfilePath: \\PDC-SRV\profiles\root
> sambaPrimaryGroupSID: S-1-5-21-4205727931-4131263253-1851132061-512
> sambaSID: S-1-5-21-4205727931-4131263253-1851132061-500
> loginShell: /bin/false
> gecos: Netbios Domain Administrator
> sambaLMPassword: 600A867539982BF08E5D533411003C5C
> sambaAcctFlags: [U]
> sambaNTPassword: 2B4FE695A07847E3F92A21A30541CAD7
> sambaPwdLastSet: 1169673792
> sambaPwdMustChange: 1173561792
> userPassword:: e1NTSEF9Mnc0aVFUcEgxdTFjOC9ycFd3ZG5kUUs3OGZFMVV6RlE=


> # samba, Users, GNUtoo.org
> dn: uid=samba,ou=Users,dc=GNUtoo,dc=org
> objectClass: top
> objectClass: inetOrgPerson
> objectClass: posixAccount
> objectClass: shadowAccount
> cn: samba
> sn: samba
> uid: samba
> uidNumber: 1002
> gidNumber: 513
> homeDirectory: /home/samba
> loginShell: /bin/bash
> gecos: System User
> description: System User
> userPassword:: e1NTSEF9VTBtbEFvQ05uU3d5MkdDTS9TQjhjdTJ4NGdsdGNFOVM=

> # gentux, Users, GNUtoo.org
> dn: uid=gentux,ou=Users,dc=GNUtoo,dc=org
> objectClass: top
> objectClass: inetOrgPerson
> objectClass: posixAccount
> objectClass: shadowAccount
> cn: gentux
> sn: gentux
> uid: gentux
> uidNumber: 1006
> gidNumber: 513
> homeDirectory: /home/gentux
> loginShell: /bin/bash
> gecos: System User
> description: System User
> userPassword:: e1NTSEF9RzNkU2FQckNHL1FVTG1sdmhycS8zQU8zbzc4eGFrVkk=

Why 'samba' and 'gentux' users do not have an sambaSAMAccount?
They need that info in order to access your samba resources.


> the problem is that i don't see any error logs but the logs of my
> ldapsearch...

Perhaps you should increase the loglevel of your smb.conf
and check the common log files found in /var/log.


Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFvfGCCj65ZxU4gPQRAtuIAKCKyqrnRLS+tGinzQv782KRRrmDjACeMdPF
QiQHjlSi50a3V8xMlQhfVSY=
=yGA+
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] tree connect failled: ERRDOS - ERRnoaccess (Access denied.)

2007-01-26 Thread GNUtoo
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 01/24/2007 07:22 PM, [EMAIL PROTECTED] escreveu:
>> i have recently switched to ldap backend for passwords
>> smbldap-useradd,smbldap-passwd works without error messages...
>> but when i try to connect from linux it gives me the following error
>> X:tree connect failled: ERRDOS - ERRnoaccess (Access denied.)
>> X can be remplaced with diffferent numbers such as
>> 10270
>> 11202
>> 11318
>> 11750
>> ...evry time the number of the errors change i don't know why
>>
>> i have only tryed it with username that are valid unix usernames
>> (i don't know if smbldap create the unix usernames for me) and the samba
>> and unix password are the same
>
>   Perhaps you could sent an user LDAP entry from your
> database so we can check if it is OK?
here my ldap entry:
# ldapsearch
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# GNUtoo.org
dn: dc=GNUtoo,dc=org
objectClass: dcObject
objectClass: organization
o: GNUtoo
dc: GNUtoo

# Users, GNUtoo.org
dn: ou=Users,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Users

# Groups, GNUtoo.org
dn: ou=Groups,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Groups

# Computers, GNUtoo.org
dn: ou=Computers,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Computers

# Idmap, GNUtoo.org
dn: ou=Idmap,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Idmap

# root, Users, GNUtoo.org
dn: uid=root,ou=Users,dc=GNUtoo,dc=org
cn: root
sn: root
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: shadowAccount
gidNumber: 0
uid: root
uidNumber: 0
homeDirectory: /home/root
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaHomePath: \\PDC-SRV\root
sambaHomeDrive: H:
sambaProfilePath: \\PDC-SRV\profiles\root
sambaPrimaryGroupSID: S-1-5-21-4205727931-4131263253-1851132061-512
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-500
loginShell: /bin/false
gecos: Netbios Domain Administrator
sambaLMPassword: 600A867539982BF08E5D533411003C5C
sambaAcctFlags: [U]
sambaNTPassword: 2B4FE695A07847E3F92A21A30541CAD7
sambaPwdLastSet: 1169673792
sambaPwdMustChange: 1173561792
userPassword:: e1NTSEF9Mnc0aVFUcEgxdTFjOC9ycFd3ZG5kUUs3OGZFMVV6RlE=

# nobody, Users, GNUtoo.org
dn: uid=nobody,ou=Users,dc=GNUtoo,dc=org
cn: nobody
sn: nobody
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: shadowAccount
gidNumber: 514
uid: nobody
uidNumber: 999
homeDirectory: /dev/null
sambaPwdLastSet: 0
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaPwdMustChange: 2147483647
sambaHomePath: \\PDC-SRV\nobody
sambaHomeDrive: H:
sambaProfilePath: \\PDC-SRV\profiles\nobody
sambaPrimaryGroupSID: S-1-5-21-4205727931-4131263253-1851132061-514
sambaLMPassword: NO PASSWORDX
sambaNTPassword: NO PASSWORDX
sambaAcctFlags: [NUD]
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-2998
loginShell: /bin/false

# Domain Admins, Groups, GNUtoo.org
dn: cn=Domain Admins,ou=Groups,dc=GNUtoo,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 512
cn: Domain Admins
memberUid: root
description: Netbios Domain Administrators
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-512
sambaGroupType: 2
displayName: Domain Admins

# Domain Users, Groups, GNUtoo.org
dn: cn=Domain Users,ou=Groups,dc=GNUtoo,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 513
cn: Domain Users
description: Netbios Domain Users
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-513
sambaGroupType: 2
displayName: Domain Users
memberUid: samba
memberUid: gentux

# Domain Guests, Groups, GNUtoo.org
dn: cn=Domain Guests,ou=Groups,dc=GNUtoo,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 514
cn: Domain Guests
description: Netbios Domain Guests Users
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-514
sambaGroupType: 2
displayName: Domain Guests

# Domain Computers, Groups, GNUtoo.org
dn: cn=Domain Computers,ou=Groups,dc=GNUtoo,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 515
cn: Domain Computers
description: Netbios Domain Computers accounts
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-515
sambaGroupType: 2
displayName: Domain Computers

# Administrators, Groups, GNUtoo.org
dn: cn=Administrators,ou=Groups,dc=GNUtoo,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 544
cn: Administrators
description: Netbios Domain Members can fully administer the
computer/sambaDom
 ainName
sambaSID: S-1-5-32-544
sambaGroupType: 5
displayName: Administrators

# Account Operators, Groups, GNUtoo.org
dn: cn=Account Operators,ou=Groups,dc=GNUtoo,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 548
cn: Account Operators
description: Netbios Domain Users to manipulate users accounts

Re: [Samba] tree connect failled: ERRDOS - ERRnoaccess (Access denied.)

2007-01-26 Thread GNUtoo
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 01/24/2007 07:22 PM, [EMAIL PROTECTED] escreveu:
>> i have recently switched to ldap backend for passwords
>> smbldap-useradd,smbldap-passwd works without error messages...
>> but when i try to connect from linux it gives me the following error
>> X:tree connect failled: ERRDOS - ERRnoaccess (Access denied.)
>> X can be remplaced with diffferent numbers such as
>> 10270
>> 11202
>> 11318
>> 11750
>> ...evry time the number of the errors change i don't know why
>>
>> i have only tryed it with username that are valid unix usernames
>> (i don't know if smbldap create the unix usernames for me) and the samba
>> and unix password are the same
>
>   Perhaps you could sent an user LDAP entry from your
> database so we can check if it is OK?
>
>   Another point, is your unix auth configuration to use LDAP
> (libnss, pam_ldap, and so on). Do you see any other errors in your
> server logs with regards to the linux client?
>
>
>   Kind regards,
>
> - --
> Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
> http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
>
> iD8DBQFFuK/oCj65ZxU4gPQRAphXAKC6OPytVzG2ItQr+poUqio3UuT47gCdEDDS
> rJQWr2qYBGtbcq+GhUPLxfg=
> =SisU
> -END PGP SIGNATURE-
>
>
here my smb.conf

[photos_modif]
   comment = private stuff
   path = /home/gentux/Pictures
   valid users = samba gentux
   public = no
   writable = no
   printable = no


[home]
   comment = private stuff
   path = /home
   valid users = gentux
   public = no
   writable = no
   printable = no

here all my ldap entries:
# ldapsearch
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# GNUtoo.org
dn: dc=GNUtoo,dc=org
objectClass: dcObject
objectClass: organization
o: GNUtoo
dc: GNUtoo

# Users, GNUtoo.org
dn: ou=Users,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Users

# Groups, GNUtoo.org
dn: ou=Groups,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Groups

# Computers, GNUtoo.org
dn: ou=Computers,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Computers

# Idmap, GNUtoo.org
dn: ou=Idmap,dc=GNUtoo,dc=org
objectClass: organizationalUnit
ou: Idmap

# root, Users, GNUtoo.org
dn: uid=root,ou=Users,dc=GNUtoo,dc=org
cn: root
sn: root
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: shadowAccount
gidNumber: 0
uid: root
uidNumber: 0
homeDirectory: /home/root
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaHomePath: \\PDC-SRV\root
sambaHomeDrive: H:
sambaProfilePath: \\PDC-SRV\profiles\root
sambaPrimaryGroupSID: S-1-5-21-4205727931-4131263253-1851132061-512
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-500
loginShell: /bin/false
gecos: Netbios Domain Administrator
sambaLMPassword: 600A867539982BF08E5D533411003C5C
sambaAcctFlags: [U]
sambaNTPassword: 2B4FE695A07847E3F92A21A30541CAD7
sambaPwdLastSet: 1169673792
sambaPwdMustChange: 1173561792
userPassword:: e1NTSEF9Mnc0aVFUcEgxdTFjOC9ycFd3ZG5kUUs3OGZFMVV6RlE=

# nobody, Users, GNUtoo.org
dn: uid=nobody,ou=Users,dc=GNUtoo,dc=org
cn: nobody
sn: nobody
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: shadowAccount
gidNumber: 514
uid: nobody
uidNumber: 999
homeDirectory: /dev/null
sambaPwdLastSet: 0
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaPwdMustChange: 2147483647
sambaHomePath: \\PDC-SRV\nobody
sambaHomeDrive: H:
sambaProfilePath: \\PDC-SRV\profiles\nobody
sambaPrimaryGroupSID: S-1-5-21-4205727931-4131263253-1851132061-514
sambaLMPassword: NO PASSWORDX
sambaNTPassword: NO PASSWORDX
sambaAcctFlags: [NUD]
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-2998
loginShell: /bin/false

# Domain Admins, Groups, GNUtoo.org
dn: cn=Domain Admins,ou=Groups,dc=GNUtoo,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 512
cn: Domain Admins
memberUid: root
description: Netbios Domain Administrators
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-512
sambaGroupType: 2
displayName: Domain Admins

# Domain Users, Groups, GNUtoo.org
dn: cn=Domain Users,ou=Groups,dc=GNUtoo,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 513
cn: Domain Users
description: Netbios Domain Users
sambaSID: S-1-5-21-4205727931-4131263253-1851132061-513
sambaGroupType: 2
displayName: Domain Users
memberUid: samba
memberUid: gentux

# Domain Guests, Groups, GNUtoo.org
dn: cn=Domain Guests,ou=Groups,dc=GNUtoo,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 514
cn: Domain Guests
description: Netbios Domain Guests Users
sambaSID: S-1-5-21-4205727931-

Re: [Samba] tree connect failled: ERRDOS - ERRnoaccess (Access denied.)

2007-01-25 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/24/2007 07:22 PM, [EMAIL PROTECTED] escreveu:
> i have recently switched to ldap backend for passwords
> smbldap-useradd,smbldap-passwd works without error messages...
> but when i try to connect from linux it gives me the following error
> X:tree connect failled: ERRDOS - ERRnoaccess (Access denied.)
> X can be remplaced with diffferent numbers such as
> 10270
> 11202
> 11318
> 11750
> ...evry time the number of the errors change i don't know why
> 
> i have only tryed it with username that are valid unix usernames
> (i don't know if smbldap create the unix usernames for me) and the samba
> and unix password are the same

Perhaps you could sent an user LDAP entry from your
database so we can check if it is OK?

Another point, is your unix auth configuration to use LDAP
(libnss, pam_ldap, and so on). Do you see any other errors in your
server logs with regards to the linux client?


Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFFuK/oCj65ZxU4gPQRAphXAKC6OPytVzG2ItQr+poUqio3UuT47gCdEDDS
rJQWr2qYBGtbcq+GhUPLxfg=
=SisU
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] tree connect failled: ERRDOS - ERRnoaccess (Access denied.)

2007-01-24 Thread GNUtoo
i have recently switched to ldap backend for passwords
smbldap-useradd,smbldap-passwd works without error messages...
but when i try to connect from linux it gives me the following error
X:tree connect failled: ERRDOS - ERRnoaccess (Access denied.)
X can be remplaced with diffferent numbers such as
10270
11202
11318
11750
...evry time the number of the errors change i don't know why

i have only tryed it with username that are valid unix usernames
(i don't know if smbldap create the unix usernames for me) and the samba
and unix password are the same

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