[Samba] How to change workstations parameter with pdbedit

2004-11-29 Thread Gonzalo Aguilera
Hi everybody, i'm interested in forcing users to login only to certain
machines. I saw in the output of pdbedit -Lv the voice Workstations:, but
i can't find a command to change this value

Thanks.

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


[Samba] Disable user change password

2004-07-15 Thread Gonzalo Aguilera
Hi! I have samba 3.0.2 as PDC, my w98 users can change his password from My Pc 
/Passwords. How can I disable this?

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


[Samba] smbmount problem

2004-01-15 Thread Gonzalo Aguilera
Hi,

I don't know why smbmount doesn't work. My samba version is 3.0.0.  Remote server 
(192.168.1.1) is running samba 3.0.0 too. Both are linux machines.

1) If I try to mount a existing share i get this

/usr/local/samba/bin/smbmount //192.168.1.1/PAVFN /monta
added interface ip=192.168.1.200 bcast=192.168.1.255 nmask=255.255.255.0
Password:
smbfs/init_mount: execv of smbmnt failed. Error was No such file or directory.smbmnt 
failed: 1

2) If I try to mount an unexisting share i get this:

/usr/local/samba/bin/smbmount //192.168.1.1/zzz /monta
added interface ip=192.168.1.200 bcast=192.168.1.255 nmask=255.255.255.0
Password:
12316: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share 
name)
SMB connection failed

3) If I try with a wrong password i get this:

 /usr/local/samba/bin/smbmount //192.168.1.1/PAVFN /monta
added interface ip=192.168.1.200 bcast=192.168.1.255 nmask=255.255.255.0
Password:
12204: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

It looks like that samba answer consecuently, but doesn't mount existing shares.

Thanks for your help in advance.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Group mapping problem

2003-12-19 Thread Gonzalo Aguilera
Hello,

I have installed samba 3.0.1 and doesn't work. In some cases
prevents other users to access to windows shares (I can solve this rebooting
windows, but sometimes needs several reboots). I'm back to samba 3.0.0 but
group mapping still doesn't work

Thanks for your help.

- Original Message -
From: Jérôme Fenal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 3:04 PM
Subject: [Samba] Re: Group mapping problem


 Gonzalo Aguilera wrote:
  Hi,
 
  I'm using tdb and Samba 3.0.0
 
  in /etc/group I have
 
  domadm:x:502:yo,tu
 
  net groupmap
 
  Domain Admins (S-1-5-21-1113206677-1823813211-1234567-512) - domadm
 

 [snip]

   root directory = administrator
 Do you really need this one ?
 Maybe it wont't find the administrator file system directory, and thus,
 won't find either the /etc/passwd and /etc/group ?

 I also know of some problem with the secondary group specified in the
 valid users clause. But I encountered it only with W98 clients. Please
 see test 3. below to confirm bug with W2K client (samba bug 882).

 Could you :
 1. Try to use last version of Samba (3.0.1)
 2. If 3.0.1 doesn't work, set the primary group of the user to 'Domain
 Admins' and retry
 3. Provide a 'log level=10' log of only the access to the share (ie. 
 logfile before access, access it, cp logfile logfile.archive)

 2. and 3. done with 3.0.1 if possible.
 Please also specify the OS Samba's running on.

 Regards,

 Jêrôme

 
  - Original Message -
  From: Jérôme Fenal [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, December 15, 2003 1:55 PM
  Subject: [Samba] Re: Group mapping problem
 
 
 
 Gonzalo Aguilera wrote:
 
 Hi,
 
 I have Samba 3 as Domain controller. From a Windows 2000
 
  Professional I share a folder (c:\test) with access permission for
certain
  domain user (MYDOMAIN\yo). I can access to that folder from other w2000
with
  that user validated into it. If I add that user to a unix group (domadm)
and
  map this group to Domain Admins (net groupmap modify ntgroup=Domain
Admins
  unixgroup=domadm) and change w2000 shared folder access permission for
group
  MYDOMAIN\Domain Admins I get Access Denied. What's wrong?

 It also seems

 
 Thanks.
 
 Please include more informations about your setup :
 - What sam type are you using (tdb, ldap, etc.) ?
 - Include a copy of testparm output
 - Include the content of the mapping (ie. which RID dd you give to the
 domadmin group?)
 - What version of Samba 3 (3.0.0, 3.0.1pre?, 3.0.1rc?)
 - and any more information that would be valuable to answer you
 
 Regards,
 
 Jérôme
 
 --
 Jérôme Fenal - Consultant Unix/SAN/Logiciel Libre
 Groupe Expert  Managed Services - LogicaCMG France
 http://www.logicacmg.com/fr/ - mailto:jerome.fenal AT logicacmg.com
 
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 

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

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


[Samba] primary gid of user [root] is not a Domain group

2003-12-19 Thread Gonzalo Aguilera
I have found this on log.smbd. What does it mean? How can I fix this?

  rpc_server/srv_util.c:get_domain_user_groups(371)
  get_domain_user_groups: primary gid of user [root] is not a Domain group !
  get_domain_user_groups: You should fix it, NT doesn't like that
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] net groupmap

2003-12-16 Thread Gonzalo Aguilera
Hi everyone,

What means parameter  [type={domain|local|builtin}] in net groupmap (samba 3.0.0)?

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


Re: [Samba] Re: Group mapping problem

2003-12-16 Thread Gonzalo Aguilera
Hi,

I'm using tdb and Samba 3.0.0

in /etc/group I have

domadm:x:502:yo,tu

net groupmap

Domain Admins (S-1-5-21-1113206677-1823813211-1234567-512) - domadm

Output of testparm:

Processing section [netlogon]
Processing section [profiles]
Processing section [homes]
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
# Global parameters
[global]
 unix charset = ISO-8859-15
 display charset = ISO-8859-15
 workgroup = MYDOMAIN
 netbios name = SERVIDOR
 root directory = administrator
 add machine script = /usr/sbin/useradd -d /dev/null -g maquinas -s
/bin/false -M %u
 logon script = logon.bat
 logon path = \\%N\profiles\%u
 logon drive = I:
 logon home = \\%N\profiles\%u\.profiles
 domain logons = Yes
 os level = 64
 preferred master = Yes
 domain master = Yes

[netlogon]
 path = /usr/local/samba/lib/netlogon
 browseable = No

[profiles]
 path = /profiles
 read only = No
 create mask = 0600
 directory mask = 0700
 browseable = No

[homes]
 read only = No
 create mask = 0770
 directory mask = 0770
 browseable = No

Thanks.

- Original Message -
From: Jérôme Fenal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 15, 2003 1:55 PM
Subject: [Samba] Re: Group mapping problem


 Gonzalo Aguilera wrote:
  Hi,
 
  I have Samba 3 as Domain controller. From a Windows 2000
Professional I share a folder (c:\test) with access permission for certain
domain user (MYDOMAIN\yo). I can access to that folder from other w2000 with
that user validated into it. If I add that user to a unix group (domadm) and
map this group to Domain Admins (net groupmap modify ntgroup=Domain Admins
unixgroup=domadm) and change w2000 shared folder access permission for group
MYDOMAIN\Domain Admins I get Access Denied. What's wrong?
 
  Thanks.
 Please include more informations about your setup :
 - What sam type are you using (tdb, ldap, etc.) ?
 - Include a copy of testparm output
 - Include the content of the mapping (ie. which RID dd you give to the
 domadmin group?)
 - What version of Samba 3 (3.0.0, 3.0.1pre?, 3.0.1rc?)
 - and any more information that would be valuable to answer you

 Regards,

 Jérôme

 --
 Jérôme Fenal - Consultant Unix/SAN/Logiciel Libre
 Groupe Expert  Managed Services - LogicaCMG France
 http://www.logicacmg.com/fr/ - mailto:jerome.fenal AT logicacmg.com


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

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


[Samba] Group mapping problem

2003-12-15 Thread Gonzalo Aguilera
Hi,

I have Samba 3 as Domain controller. From a Windows 2000 Professional I share 
a folder (c:\test) with access permission for certain domain user (MYDOMAIN\yo). I can 
access to that folder from other w2000 with that user validated into it. If I add that 
user to a unix group (domadm) and map this group to Domain Admins (net groupmap modify 
ntgroup=Domain Admins unixgroup=domadm) and change w2000 shared folder access 
permission for group MYDOMAIN\Domain Admins I get Access Denied. What's wrong?

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