[UniMacTech] Samba server string

Justin Young justin.young at otago.ac.nz
Mon Jun 30 14:03:44 EST 2008


Thank you, that looks like it's working.


Justin Young
Computer Facility
School of Medicine & Health Sciences
University of Otago, Wellington
New Zealand
ph: (04) 385 5541 ext 5674
justin.young at otago.ac.nz
www.wnmeds.ac.nz

On 30/06/2008, at 3:48 PM, Andrew Wellington wrote:

> Justin,
>
> On 30/06/2008, at 1:18 PM, Justin Young wrote:
>> I am setting up Samba sharing in OS X 10.5 and need to manually  
>> edit the smb server string.
>> Under 10.4 I could edit /etc/smb.conf and remove the line ;Using  
>> the Computer Name to compute the NETBIOS name. Remove this comment  
>> to override, and then change the server string and NetBIOS name  
>> entries in smb.conf to what was needed.
>>
>> This no longer exists in 10.5.
>>
>> The problem we have with using the Computer Name is that we a want  
>> a standardised way for computers to show up in the Workgroup list  
>> in Windows. We use a ID number for the computer name, and then the  
>> server string to show the department and user name of the computer.
>>
>> I can set the NetBIOS name okay in Network prefs, but the only way  
>> to get the server string correct is to change the Computer Name in  
>> Sharing Prefs. Unfortunately we also want the Macs to show up in  
>> the OS X network browser identified by the Machine ID number. So  
>> the Computer Name and server string are at odds with each other.
>>
>> I can temporarily get everything right by editing /var/db/smb.conf,  
>> but that gets reset if I make any changes in Network Prefs.
>>
>> /var/db/smb.conf seems to override /etc/smb.conf. I can't find any  
>> documentation on how I should be manually set the smb prefs  
>> properly so any help would be appreciated.
>
> The comment at the top of /etc/smb.conf on Mac OS X 10.5 explains  
> what you need to do.
>
> ------------------------------
> ; BEGIN required configuration
>
> ; Parameters inside the required configuration block should not be  
> altered.
> ; They may be changed at any time by upgrades or other automated  
> processes.
> ;
> ; Site-specific customizations will only be preserved if they are done
> ; outside this block. If you choose to make customizations, it is your
> ; own responsibility to verify that they work correctly with the  
> supported
> ; configuration tools.
> ------------------------------
>
> To make changes that won't be overwritten, or overridden by /var/db/ 
> smb.conf simply place them after this line:
>
> ; Site-specific parameters can be added below this comment.
> ; END required configuration.
>
> In your case just add the following lines after that comment:
> [global]
> 	server string = MyCoolServerStringHere
>
> Regards,
> Andrew
>
> =======================================
> Andrew Wellington
> Mac OS X Systems Administrator
> Systems & Desktop Services
> Division of Information
> R.G Menzies Building (Bldg #2)
> The Australian National University
> Canberra ACT 0200 Australia
>
> T: +61 2 6125 7805
> W: http://information.anu.edu.au/
>
> CRICOS Provider #00120C
>
>
> _______________________________________________
> unimactech mailing list
> unimactech at auc.edu.au
> http://www.auc.edu.au/mailman/listinfo/unimactech

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://auc.uow.edu.au/pipermail/unimactech/attachments/20080630/a5a83e23/attachment-0001.html


More information about the unimactech mailing list