[Samba] Folder Creation Errors

Gerald (Jerry) Carter jerry at samba.org
Wed Aug 14 20:38:30 GMT 2002

On Wed, 7 Aug 2002, Peter Shearer wrote:

> How can I create a custom printer form for use on the printers shared by
> Samba?  I tried to add a printer form via the "Server Properties" gizmo
> from a Win2k Pro client, but I get "Form formname could not be added.  
> Operation could not be completed."  When I do an enumforms <printername>
> via rpcclient to the Samba server, I get an NT_STATUS_UNSUCCESSFUL.  If
> I do this against our WinNT 4.0 server with printers, it gives me the
> list.  Is there some funky hack I can use?

Ugghhh...send me a level 10 debug log of the failure on the server.  
I'll try to take a look.

> Second, when creating a new folder on a Samba share from a Windows
> 2000 client, I get the following message within Windows:
> You may not be able to access files created in the folder H:\New Folder.
> Do you want to continue?
> This message is harmless; if I go ahead and create the folder, it is
> created and can be accessed without issues.  This does not happen on any
> of the other shares, just the homes share (referenced via the user's
> name, i.e. net use h: \\server\username).  I have disabled oplocks, as
> per my smb.conf file below.

Hmm....2 things.  a debug log would be helpful and (b) can you reproduce 
this with the latest SAMBA_2_2 cvs?

> [global]
> 	workgroup = THE-ROCK
> 	netbios name = ADAM
> 	security = DOMAIN
> 	encrypt passwords = Yes
> 	password server = ANDREW SAINTPETER
> 	username map = /usr/local/samba/private/usermap
> 	log file = /usr/local/samba/var/%m.log
> 	large readwrite = Yes
> 	name resolve order = lmhosts wins bcast host
> 	time server = Yes
> 	deadtime = 1
> 	socket options = TCP_NODELAY SO_KEEPALIVE
> 	printcap name = cups
> 	enumports command = /usr/local/samba/bin/enumprinters
> 	os level = 60
> 	wins support = Yes
> 	remote announce =
> 	host msdfs = Yes
> 	printer admin = root @root @PrinterAdmins shearerp dougv

These are all local Unix groups right?  You don't include any windows 
domain groups.

 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list