-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, all ! I'm trying to add users to my NT domain from my samba servers (This to create all my accounts with only a single script, I do not want to create them on the PDC, then create their folders on the samba file server with another...) I managed to create account with "net rpc user add", then put them in the right domain group with "net groupmember", but what about the other parameters (User Z drive, profile path, etc...) ? And I tried to give the users a password with the "net rpc user add <user> <password>", but it doaesn't work ! I think the "-F" flag would help, but it's documented nowhere ! Here is the only mail I found related to my problem (Thanks to Google), but it never had any answer... Can you help ?> Joe Mondloch > Tue Sep 9 20:41:22 GMT 2003 > > I'm not sure if this functionality fully exists yet or not... > > I would like to be able to create user accounts on a Windows 2000 > machine from my Linux host via Samba. I also need to be able to assign > these user accounts to particular groups. > > > I've tried: > net rpc user ADD foo -S W2K_SERVER -U Administrator > > This seems to create the user, but the account is disabled and is not a > member of any groups. The 'net rpc user' command takes a number of other > options according to the help, such as '-F user flags'. Unfortunately, I > have not been able to find any documentation about what those flags are. > > Thanks for any help, > Joe- -- ,, (?> Nicolas Costes /|\ IUT de La Roche / Yon ( ^ ) Cl? publique: http://www.keyserver.net/ ^ ^ http://www.gnu.org/philosophy/can-you-trust.fr.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA7BVqNc2aXy7LuOgRAhbKAJ9egqR0sPxfI4zIBa2Xdd4RzI99QwCfdVod nvSUMzmjueG3Wud8Fqjy2tU=sven -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello again... Really no one knows about this "-F" flag in "net user add" ? Le mercredi 7 Juillet 2004 17:23, Nicolas Costes a ?crit :> Hello, all ! > > I'm trying to add users to my NT domain from my samba servers (This to > create all my accounts with only a single script, I do not want to create > them on the PDC, then create their folders on the samba file server with > another...) > > I managed to create account with "net rpc user add", then put them in the > right domain group with "net groupmember", but what about the other > parameters (User Z drive, profile path, etc...) ? > > And I tried to give the users a password with the "net rpc user add > <user> <password>", but it doaesn't work ! > > I think the "-F" flag would help, but it's documented nowhere ! > Here is the only mail I found related to my problem (Thanks to Google), > but it never had any answer... > > Can you help ? > > > Joe Mondloch > > Tue Sep 9 20:41:22 GMT 2003 > > > > I'm not sure if this functionality fully exists yet or not... > > > > I would like to be able to create user accounts on a Windows 2000 > > machine from my Linux host via Samba. I also need to be able to assign > > these user accounts to particular groups. > > > > > > I've tried: > > net rpc user ADD foo -S W2K_SERVER -U Administrator > > > > This seems to create the user, but the account is disabled and is not a > > member of any groups. The 'net rpc user' command takes a number of > > other options according to the help, such as '-F user flags'. > > Unfortunately, I have not been able to find any documentation about > > what those flags are. > > > > Thanks for any help, > > Joe > > -- > ,, > (?> Nicolas Costes > /|\ IUT de La Roche / Yon > ( ^ ) Cl? publique: http://www.keyserver.net/ > ^ ^ http://www.gnu.org/philosophy/can-you-trust.fr.html- -- ,, (?> Nicolas Costes /|\ IUT de La Roche / Yon ( ^ ) Cl? publique: http://www.keyserver.net/ ^ ^ http://www.gnu.org/philosophy/can-you-trust.fr.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA7VXeNc2aXy7LuOgRAuE1AKCE9AmF1ziyG5KXKv0UY1SyFE7nTACgqzzE obibHn0U6I0RqGBs5tcBAeo=nRQY -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le lundi 19 Juillet 2004 15:23, Michel Jacquot a ?crit :> Bonjour Nicolas,Salut :-)> j'ai le m?me probl?me que toi pour cr?er des comptes windows ? partir de > samba.Cela serait fichtrement pratique, non ? Pour eviter de passer sur les deux machines....> J'essaie d'?plucher le code de net pour trouver l'option -F, mais sans > succ?s pour l'instant. > As-tu trouv? quelque chose ?Je ne suis pas un "root's" du C, encore moins de Samba, mais j'ai jet? un oeil (C'est la premi?re fois que je regardais les sources de Samba), et je n'ai pas compris grand chose. Il y a pas mal de niveaux d'indirection... Le code qui nous int?resse doit ?tre dans un fichier externe :-( De plus, la r?ponse qui m'a ?t? faite il y a quelques jours sur cette m?me liste (On me conseillait de regarder le man de 'pdbedit', cette commande utilisant soit-disant les m?mes options) ne m'a pas aid?, ?a ne marche pas. Je suis d??u, l?, car Samba est globalement bien document?, m?me la commande NET en g?n?ral, mais nous somme tomb?s sur un aspect dont tout le monde semble se fiche, et pour lequel la doc est ridicule. Pas de chance. Je suis tout de m?me ?tonn? que personne ne cherche ? utiliser cette fonctionnalit?, a croire que les admins samba n'utilisent que du samba sur leur domaine, et pas de PDC NT ...> Amicalement, > MichelSi tu trouve quelque chose, je suis preneur... - -- ,, (?> Nicolas Costes /|\ IUT de La Roche / Yon ( ^ ) Cl? publique: http://www.keyserver.net/ ^ ^ http://www.gnu.org/philosophy/can-you-trust.fr.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA++kmNc2aXy7LuOgRAmnYAKCfI/ZMJY9772BniQeVfk5nnL0h0wCdHieX wOSDw/sh95WUawgPkWgiq9o=XGTE -----END PGP SIGNATURE-----
Possibly Parallel Threads
- Meilleurs Voeux pour 2002 : ann?e de m?moire, de mobilisation, d'action, de justice et de s?r?nit? - Appel au soutien moral et financier
- Meilleurs Vœux pour 2002 : année de mémoire, de mobilisation, d'action, de justice et de sérénité - Appel au soutien moral et financier
- Can't setup Windows Print Driver on Samba 3 Server
- htmlwindow
- R pour débutant