[Samba] Chaning shares using Computer Management with W2k3.

Gerald (Jerry) Carter jerry at samba.org
Tue Jul 20 21:35:34 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mattias Andersson wrote:

| I'm trying to change permissions and add shares and
| remove shares etc.. on my Samba-hosts shares (running 3.0.4
| on Fedora, using the Computer Management-tool on Windows
| Server 2003. I have set security = ads on the samba host
| and I've joined the host to the Active Directory Server (the
| same machine as the one I'm running the Computer
| Management-tool on).   However, I seem to get "Access is
| denied" all the time. After some googling and some reading in
| several howto's I think it must be that I dont have any
| scripts for adding, removing and changing shares, set up.
| Could this be the problem?
|
| I know how to set these in smb.conf, though I dont know
| where to get them. Does anyone know where I can find
| good example of such scripts?

Correct.  You have to write the 'addshare command' program.
There's a sample in example/misc/modify_share_command.pl

And you have to be connected as a root user.



cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"...a hundred billion castaways looking for a home." ----------- Sting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFA/ZAmIR7qMdg1EfYRAo/yAKDFoQ6S+KkNRBZH46IBGsoWe30pUACbBMkZ
cZ+uz6k8u4aXv9sZmeCJtVE=
=QzOH
-----END PGP SIGNATURE-----


More information about the samba mailing list